
#ifndef FILESHARE_H
#define FILESHARE_H

#pragma once
/////////////////////////////////////////////////////////////////////////////
// CFileShare dialog
#include "FileShareBase.h"
class CFileShare : public CFileShareBase
{
public:
	CFileShare(CWnd* pParent = NULL);   // standard constructor
// Dialog Data
	//{{AFX_DATA(CFileShare)
	enum { IDD = IDD_FILE_SHARE };
	//}}AFX_DATA
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFileShare)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	void OnError( int error, CString message );
	void OnReply( int msg, CString message );
	CImageList m_ctImageList;

	// Generated message map functions
	//{{AFX_MSG(CFileShare)
	virtual BOOL OnInitDialog();
	afx_msg void OnDownloadfile();
	afx_msg void OnUploadfile();
	afx_msg void OnRefrushdir();
	afx_msg void OnDeletefile();
	afx_msg void OnDeletedir();
	afx_msg void OnNewdir();
	afx_msg void OnRclickServerlist(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnRclickTranslist(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDblclkServerlist(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDblclkTranslist(NMHDR* pNMHDR, LRESULT* pResult);
    afx_msg void EM_PopMsg(WPARAM wParam, LPARAM lParam);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#endif // FILESHARE_H
